package com.lottery.www.service.impl;

import com.lottery.www.entity.PreOrder;
import com.lottery.www.dao.PreOrderDao;
import com.lottery.www.service.PreOrderService;
import com.github.yulichang.base.MPJBaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author leo
 * @since 2023-05-22 15:18:52
 */
@Service
public class PreOrderServiceImpl extends MPJBaseServiceImpl<PreOrderDao, PreOrder> implements PreOrderService {

    /**
     * 预下单金额，先给定10块
     * @return
     */
    @Override
    public Float findPreOrderInput() {
        return 10.00f;
    }

    /**
     * 预收益，暂定为与下单金额一致，都是10块
     * @return
     */
    @Override
    public Float findPreOrderIncome() {
        return 10.00f;
    }
}
